home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / yamp16.zip / TO_LIB.MAK < prev    next >
Makefile  |  1992-08-22  |  1KB  |  64 lines

  1.  
  2. #
  3. # Make file for BCC. Make sure to correct the definitions for
  4. # your machine.
  5. #
  6. # This makefile constructs virtlib.lib using the
  7. # large memory model, debug info off, no fast floating point,
  8. # and all other defaults, ie emulation, and standard
  9. # optimizations. 
  10.  
  11. CURDIR = C:\MATH\MATPP
  12. INCDIR = C:\TC\INCLUDE
  13.  
  14. .PATH.obj = $(CURDIR)
  15.  
  16. #        *Translator Definitions*
  17. CC = bcc -c +TO_LIB.CFG
  18. TLINK = tlink
  19.  
  20. #        *List Macros*
  21. EXES = virtop.obj virt.obj virtgraf.obj dist.obj
  22. CCS  = virt.h dist.h virt.cpp virtop.cpp virtgraf.cpp dist.cpp
  23.  
  24. #               *Implicit Rules*
  25. .cpp.obj:
  26.   $(CC)  {$< }
  27.  
  28.  
  29.  
  30. #        *Explicit Rules*
  31. #        all must be the first explicit rule
  32.  
  33. all: to_lib.cfg virtlib.lib to_lib.mak $(CCS) $(EXES) 
  34.      del to_lib.cfg
  35.  
  36. virtop.obj: virtop.cpp
  37.  
  38. virt.obj: virt.cpp
  39.  
  40. virtgraf.obj: virtgraf.cpp
  41.  
  42. dist.obj: dist.cpp
  43.  
  44. virtlib.lib: to_lib.mak $(EXES)
  45.    tlib virtlib.lib +-virt +-virtop +-virtgraf +-dist, virtlib.lis
  46.  
  47. #        *Compiler Configuration File*
  48. # change -DVIRTGRAF to -DVIRTGRAF;IN_RAM for in ram version
  49. # make sure to build the library with the same defines
  50.  
  51. to_lib.cfg: to_lib.mak 
  52.   copy &&|
  53. -ml
  54. -v-
  55. -vi-
  56. -ff-
  57. -DVIRTGRAF
  58. -n$(CURDIR)
  59. -I$(INCDIR)
  60. | to_lib.cfg
  61.  
  62.  
  63.  
  64.